import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 区域区域*/
// 创建
export const spinWorkshopAreaCreate = (data) => postRequest('/spin/workshop-area/create', data);

// 更新
export const spinWorkshopAreaUpdate = (data) => putRequest('/spin/workshop-area/update', data);

// 删除
export const spinWorkshopAreaDelete = (params) => deleteRequest('/spin/workshop-area/delete', params);

// 获得
export const spinWorkshopAreaGet = (params) => getRequest('/spin/workshop-area/get', params);

// 分页
export const spinWorkshopAreaPage = (params) => getRequest('/spin/workshop-area/page', params);

// 导出 Excel
export const spinWorkshopAreaExportExcel = (params) => getRequest('/spin/workshop-area/export-excel', params);
export const spinWorkshopAreaUpdateAuditState = (data) => postRequest('/spin/workshop-area/update-audit-state', data);
